import request from '@/utils/request'

export const listAllTaoCan = () =>
    request({
        url: '/tSetmeal/all',
        method: 'get'
})


export const queryTaoCanStatue = () =>
    request({
        url: '/tSetmeal/queryTaoCanStatue',
        method: 'get'
})


export const updStatue = (num,tcid) =>
request({
  url: '/tSetmeal/' + num + "/tcid",
  method: 'put',
  params: {
    tcid: tcid
  }
})

export const addSetmeal = (items,taocan) =>
request({
  url: '/tSetmeal/' + items + "/taocan",
  method: 'put',
  params: {
    taocan: taocan
  }
})



export const queryItem = (setmealId) =>
request({
  url: '/tSetmealCheckitem/' + setmealId,
  method: 'post'
})
